package com.templateMethod;

public abstract class TestPaper {
	
	public abstract void answer1();
	public abstract void answer2();
	public void testQuestion1(){
		System.out.println("试题1 。。。");
		answer1();
	}
	
	public void testQuestion2(){
		System.out.println("试题2.。。。");
		answer2();
	}
	
	public void showAnswer(){
		testQuestion1();
		testQuestion2();
	}
	
}
